<html>
<!--
 ~ Copyright 2011 Google Inc. All Rights Reserved.
 ~
 ~ All rights reserved. This program and the accompanying materials
 ~ are made available under the terms of the Eclipse Public License v1.0
 ~ which accompanies this distribution, and is available at
 ~ http://www.eclipse.org/legal/epl-v10.html
 ~
 ~ Unless required by applicable law or agreed to in writing, software
 ~ distributed under the License is distributed on an "AS IS" BASIS,
 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ~ See the License for the specific language governing permissions and
 ~ limitations under the License.
-->
  <head>
    <title>AppsMarketplaceDemo</title>
    <link type="text/css" rel="stylesheet" href="AppsMarketplaceDemo.css">
  </head>

  <body>
    <div id="header">
      <div class=errorStatus><script type="text/javascript">
        <!--
          function queryString(queryName) {
            queries = window.location.search.substring(1).split("&");
            for (i = 0; i < queries.length; i++) {
              query = queries[i].split("=");
              if (query[0] == queryName) {
                return query[1];
              }
            }
            return "";
          }
          var error = queryString("errorString");
          document.write(decodeURI(error));
        -->
      </script></div>
      <p>AppsMarketplaceDemo</p>
    </div>

    <form action="/openid" method="get">
      <div id="message">
       <p>Specify your <b>Google Apps Domain</b> name, and fetch your next five calendar entries.</p>
        <div class="roundRect">
          <input class="field" size="62" id="domain_field" type="text" name="hd"></input>
        </div>
        <input class="send" type="submit" value="Fetch Calendar Entries"/>
      </div>
    </form>

    <div id="footer">
      <p>More information can be found here: <a href="http://code.google.com/eclipse/docs/users_guide.html">Getting started with Apps Marketplace and Eclipse</a>.</p>
    </div>

  </body>
</html>